<h1>Textbooks List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Book title</th>
      <th>Book author</th>
      <th>Book edition</th>
      <th>Book isbn</th>
      <th>Book publisher</th>
      <th>Book price</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($textbooks as $textbook): ?>
    <tr>
      <td><a href="<?php echo url_for('textbook/show?id='.$textbook->getId()) ?>"><?php echo $textbook->getId() ?></a></td>
      <td><?php echo $textbook->getBookTitle() ?></td>
      <td><?php echo $textbook->getBookAuthor() ?></td>
      <td><?php echo $textbook->getBookEdition() ?></td>
      <td><?php echo $textbook->getBookIsbn() ?></td>
      <td><?php echo $textbook->getBookPublisher() ?></td>
      <td><?php echo $textbook->getBookPrice() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('textbook/new') ?>">New</a>
